package com.wz.dao;

import com.wz.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;
/**
 * 定义部门接口
 * @author 2019
 *
 **/
@Mapper
@Repository
public interface DepartmentMapper {

    /**获得所有部门信息*/
     List<Department> AllDepartment();


     /**添加部门*/
     int addDept(Department department);


}
